package Day9;

import org.junit.Test;

public class Ou implements Runnable{

	public void run() {
		String name = Thread.currentThread().getName();
		for(int i = 0 ; i < 100; i += 2) {
			//if(i % 2 == 0) {
				System.out.println(name + " : " + i);
				try {
					Thread.sleep(50);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
			//}
		}
	}
	public static void main(String[] args) {

	}

}
